<?php /* @var $file Files */ ?>

<div class="category_title"><?php echo $page->getName();?></div>
<?php if(has_role_id(MyConstants::ROLE_ADMIN)): ?>
    <div id="" class="edit">
        <?php echo link_to(image_tag('pencil.png'
                                    , 'style="border:0px;"')
                        , 'textmodule/edit?id=' . $page->getId()); ?>
    </div>
<?php endif;?>

<div class="about_us_text">
    <?php echo $page->getText(); ?>
</div>

<?php if( !empty($arFiles) ): ?>
    <?php foreach( $arFiles as $file ): ?>
    <div class="about_us">
        <table width="120" height="90"><tr><td align="center" valign="middle">
        <?php echo image_tag(
                        'gallery/tiny/' . $file->getUname()
                        , array(
                            'border' => '0'
                            , 'alt' => $file->getName()
                            , 'title' => $file->getName()
                        )
        )?>
        </td></tr></table>
    </div>
    <?php endforeach; ?>
<?php endif; ?>